package com.zhengjiang.nacos.consumer.feign;

import com.zhengjiang.nacos.consumer.model.Storage;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(name = "storage-service")
public interface StorageServiceClient {

    @PostMapping("/storage/decry")
    String decryStorage(@RequestBody Storage storage);
}
